Skip to content

docs: migrate doc templates + apps to renamed boolean modifiers (#268) - #342

Merged
Chris Anderson (codemonkeychris) merged 1 commit into
mainfrom
docs/migrate-boolean-modifier-renames
May 19, 2026
Merged

Chris Anderson (codemonkeychris) merged 1 commit into
mainfrom
docs/migrate-boolean-modifier-renames

Conversation

@codemonkeychris

Copy link
Copy Markdown
Collaborator

Migrates the remaining doc-pipeline templates, doc apps, and compiled guide pages to the WinUI-aligned boolean modifier names introduced in #296 / #268.

Rename map

Old New Notes
.Visible(x) .IsVisible(x)
.Disabled(x) .IsEnabled(!x) Inverted — boolean flipped at each call site
.Selectable(...) .IsTextSelectionEnabled(...) TextBlock
.ReadOnly(...) .IsReadOnly(...) TextField, RatingControl
.Editable(...) .IsEditable(...) ComboBox
.Closable(...) .IsClosable(...) InfoBar
.Active(...) .IsActive(...) ProgressRing
.DisabledFocusable(...) .IsDisabledFocusable(...) Button
.LightDismiss(...) .IsLightDismissEnabled(...) Popup

Scope

The original PR (#296) migrated first-party src/, samples, and 5 of the 45 doc apps. This sweep covers the remaining 21 files in docs/:

  • 8 doc apps: commanding, dialogs-and-flyouts, recipe-login, recipe-multi-step-form, recipe-paginated-list, status-and-info, text-and-media, plus forms/doc-manifest.yaml description text
  • 8 templates (.md.dt): accessibility, cheat-sheet, dialogs-and-flyouts, forms, recipes/login, recipes/multi-step-form, status-and-info, text-and-media
  • 10 compiled guide pages (regenerated with mur docs compile, recipes patched in place to preserve inlined snippets)

Verification

  • mur docs compile --validate-only ΓÇö all references resolve; only pre-existing warnings remain
  • dotnet build on all 7 modified doc apps ΓÇö all succeed
  • Skills (skills/, plugins/reactor/skills/) audited ΓÇö no stale references; reactor.api.txt files already reflect the rename from refactor: normalize ShowAddButton to IsAddButtonVisible #296
  • Pure rename: 26 files, +61 / -61

Out of scope

Migrates the remaining doc-pipeline templates, doc apps, and compiled
guide pages to the WinUI-aligned boolean modifier names introduced in
#296 / #268:

  .Visible            -> .IsVisible
  .Disabled(x)        -> .IsEnabled(!x)         (inverted)
  .Selectable         -> .IsTextSelectionEnabled
  .ReadOnly           -> .IsReadOnly
  .Editable           -> .IsEditable
  .Closable           -> .IsClosable
  .Active             -> .IsActive
  .DisabledFocusable  -> .IsDisabledFocusable
  .LightDismiss       -> .IsLightDismissEnabled

The original PR migrated first-party code, samples, and a handful of
doc apps. This sweep covers the rest: 8 remaining doc apps, 8
templates, and the 10 compiled guide pages that reference them.
Compiled output regenerated with `mur docs compile` (recipes pages
patched in place to preserve their inlined snippets).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codemonkeychris
Chris Anderson (codemonkeychris) merged commit dddb3f8 into main May 19, 2026
10 checks passed
@codemonkeychris
Chris Anderson (codemonkeychris) deleted the docs/migrate-boolean-modifier-renames branch May 19, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant